﻿

var tableHeadersDefinitionCtrl = function ($scope,$modalInstance) {

    $scope.headersData = [
            { columnName: "Product #" },
            { columnName: "Description" },
            { columnName: "Price Per Unit" },
            { columnName: "Qty units" },
            { columnName: "Amount" }
    ];


    $scope.ok = function () {
        $modalInstance.close($scope.headersData);
    };

    $scope.cancel = function () {
        $modalInstance.dismiss('cancel');
    };

};
